LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)  
LOCAL_MODULE    := libcoe_sdk
LOCAL_SRC_FILES := libcoe_sdk.a
include $(PREBUILT_STATIC_LIBRARY) 

#include $(CLEAR_VARS)    
#LOCAL_MODULE    := libcrypto  
#LOCAL_SRC_FILES := libcrypto.a    
#include $(PREBUILT_STATIC_LIBRARY) 

#include $(CLEAR_VARS)    
#LOCAL_MODULE    := libssl  
#LOCAL_SRC_FILES := libssl.a    
#include $(PREBUILT_STATIC_LIBRARY) 

#include $(CLEAR_VARS)    
#LOCAL_MODULE    := libgnustl_static  
#LOCAL_SRC_FILES := libgnustl_static.a    
#include $(PREBUILT_STATIC_LIBRARY) 
#include $(CLEAR_VARS)

include $(CLEAR_VARS)
LOCAL_MODULE    := coe_mdm_sdk_lib
LOCAL_SRC_FILES := adlist.c msg_result.c coe_cmd.c coe_result.c coe_jni.c coe_sdk_wrapper.c
LOCAL_CFLAGS := -fPIC -Wall -D__linux -DNETAC_API_EXPORTS
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_STATIC_LIBRARIES :=  $(LOCAL_PATH)/ libcoe_sdk -lc

LOCAL_LDLIBS:=-L$(SYSROOT)/usr/lib -llog -lc -lz

#LOCAL_SHARED_LIBRARIES := -llog

include $(BUILD_SHARED_LIBRARY)

#include $(LOCAL_PATH)/prebuilt/Android.mk
